<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.css" rel="stylesheet" />
		<script src="js/mui.js"></script>
		<script src="js/weixin_utils.js"></script>
		<script type="text/javascript">
			mui.init()
			
			// plus插件加载完成后就会调用此函数
			mui.plusReady(function(){
				setTimeout(function(){
					
					// 获取当前页面
					var cpage = plus.webview.currentWebview();
					
					var user = util.getUser();
					// if(user == null){
						// 跳转至登录页面 
						var p = plus.webview.open("login.html","login.html");
					// } else {
						// var p = plus.webview.open("index.html","index.html");
					// }
					
					// 关闭欢迎页
					cpage.close();
					
					
				},2000)
			})
		</script>
	</head>

	<body>
		<img src="image/welcomebg.jpg" style="width: 100%;height: 100%;"/>
	</body>

</html>